package com.example.goods_service.service;

import com.example.goods_service.vo.*;
import org.springframework.stereotype.Service;

import java.util.List;

public interface GoodsService_chenbin 
{

    List<T_commodity_category> sel_big_leimu();

    List<T_commodity_category> sel_small_leimu();

    List<T_category_attribute> sel_attribute(int category_id);

    List<T_attribute_details> sel_details();


    List<T_category_config> sel_goodsconfig(int category_id);

    List<T_config_details> sel_configdetails();

    int add_picture(String s);

    int add_goods(String goodsname, String goodsjianjie, int leimuid);

    List<T_commodity> sel_goodsid(String goodsname);

    void add_selectedattribute(int attribute_id, int attribute_details_id, int goodsid);

    List<T_config_details> sel_configdetailsid(String o);

    int add_selected_config(int id, int config_id, int id1);

    int add_com_all(int id, String configattibute, Double goodsrice, int stock);

    void add_goods_pic(String s, int id);

    void add_com_price(Double pirce, int id);

    int sel_goodstotal(int userid);

    List<T_picture> sel_picid(String s);

    void add_goodspic(int id, int id1);

    int add_attribute(int categoryid, String attribute);

   

    int add_attribute_details(int attributeid, String attibutedetails);

    List<T_category_attribute> sel_attribute_exsit(String attribute,int categoryid);

    List<T_category_config> sel_config_exsit(String configname,int categoryid);

    int add_config_details(int configid, String configdetails);

    int add_config(int categoryid, String configname);

    void add_dianpu_goods(int userid, int id);

    int sel_shangjianum(int userid);

    int sel_xiajia(int userid);
}
